Skip to content

fix(model_selection): parallel config-label counter must not depend on show_progress#197

Merged
bartzbeielstein merged 2 commits into
developfrom
fix/parallel-config-counter-gating
Jun 7, 2026
Merged

fix(model_selection): parallel config-label counter must not depend on show_progress#197
bartzbeielstein merged 2 commits into
developfrom
fix/parallel-config-counter-gating

Conversation

@bartzbeielstein

Copy link
Copy Markdown
Collaborator

Summary

Field report (team4_submit, 2026-06-07 16:00 run): config 1/10 labels frozen again despite 5.1.0. Root cause: the Manager counter was gated on the outer show_progress flag, but the per-config fold bars are always shown (the objective wrapper hardcodes show_progress=True). The MultiTask pipeline calls spotoptim_search with show_progress=False (its default), so real pipeline runs created no counter and workers fell back to the frozen len(all_params)+1 label — the original bug, reintroduced for exactly the production path.

Fix: gate the counter on parallel_eval only (+ explanatory comment). New regression test reproduces the report (show_progress=False, n_jobs=2) — fails on 5.1.0, passes here.

Verification

🤖 Generated with Claude Code

bartzbeielstein and others added 2 commits June 7, 2026 16:27
…less of show_progress

The Manager counter for 'config k/N' labels was gated on the outer
show_progress flag, but the per-config fold bars are always shown (the
objective wrapper hardcodes show_progress=True). The MultiTask pipeline
calls spotoptim_search with show_progress=False, so real runs created no
counter and the labels froze at 'config 1/N' again — the original bug,
reintroduced for exactly the pipeline path. Gate the counter on
parallel_eval only; regression test covers the show_progress=False +
n_jobs=2 path.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@bartzbeielstein bartzbeielstein merged commit ba4891d into develop Jun 7, 2026
9 checks passed
@bartzbeielstein bartzbeielstein deleted the fix/parallel-config-counter-gating branch June 7, 2026 14:36
@bartzbeielstein

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 5.1.1-rc.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@bartzbeielstein

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 5.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant